package flst.ipiweb.persistance.interfaces;

import java.util.List;

import flst.ipiweb.transverse.Admin;
import flst.ipiweb.transverse.IPIWebException;

public interface IAdminDAL {

	public List<Admin> getAllAdmin() throws IPIWebException;
	public void CreateAdmin(Admin adm) throws IPIWebException;
	public void UpdateAdmin(Admin adm) throws IPIWebException;
	public Admin GetAdminByLogin(String login) throws IPIWebException;
	public Admin GetAdminById(int id) throws IPIWebException;
	public void deleteAdmin(int id) throws IPIWebException;
	public Boolean CheckLogin(String login) throws IPIWebException;
}
